home *** CD-ROM | disk | FTP | other *** search
- ////////////////////////////////////////////////////////////////
- //
- // EditorPaint.wkf
- //
- // Main workflow for the Paint Editor
- //
-
- // Colors
- 0 COLOR 0 0 0 // Foreground color
- 1 COLOR 255 255 255 // Background color
-
- // Catalog of paint classes
- 2 STRING file:/Resources/CatalogsComponent!Photos!ED_Paint_Settings.pza
-
- // For hooking into warp, arguments are donated to warp filter.
- 7 INTEGER 50 0 100 // Canned param 1
- 8 INTEGER 50 0 100 // Canned param 2
-
- // Zoom level
- 12 INTEGER 100 1 10000
-
- // SmartSelection trace width
- 13 INTEGER 25 6 120
-
- // Magic Wand tolerance
- 14 INTEGER 50 1 100
-
- // Free Rotate angle
- 15 INTEGER 0 -360 360
-
- // Preview flag for area special effects
- 16 INTEGER 1 0 1
-
- 20 0B5265B2-E7C4-11D0-8D14-00C0A847C2EC // Easel
- 19 0B5265B2-E7C4-11D0-8D14-00C0A847C2EC // Floating Selection Easel
-
- // Note: SelectionDraw MUST have a smaller ID number than ImageEdit or ShapeSelection
- // This ensures that it gets destroyed first!
- 4 662963E0-9C8F-11d1-BB48-0080C857F5E1 // SelectionDraw
- 21 FD6DA6D0-3025-11D1-B211-004005001DD1 // ImageEdit
- 23 BD3B87E3-F484-11D0-A984-444553540000 // ShapeSelection
-
- 30 9F558824-4ECD-11D1-B211-004005001DD1 // editor settings
- 31 INTEGER 100 1 100 // blend factor
- 32 FD5E0BCE-61BC-11D1-B211-004005001DD1 // undo stack
-
- LINK 0 0 21 1 // link foreground color into editor
- LINK 1 0 21 2 // link background color into editor
-
-
- LINK 20 0 21 0 // link easel into editor
- LINK 19 0 21 7 // link floating selection easel into editor
-
- LINK 23 0 21 3 // Shape selection into editor
-
- LINK 2 0 30 1 // link catalog into editor settings
- // Note: link catalog into editor settings BEFORE linking editor settings into editor!
- LINK 30 0 21 4 // editor settings into editor
-
- LINK 31 0 21 5 // blend factor into editor
-
- LINK 32 0 21 6 // undo stack into editor
-
- LINK 16 0 21 8 // preview checkbox into editor
-
- LINK 32 0 23 2 // undo stack into shape selection
-
- // Link warp slider args into editor.
- // Editor will manually link them into the warp filter
- LINK 7 0 21 9
- LINK 8 0 21 10
-
- // Link rotation angle into editor.
- LINK 15 0 21 11
-
- LINK 21 0 4 0 // image edit into selection draw
- LINK 23 0 4 1 // shapeselection into selection draw
- LINK 13 0 4 2 // trace width into selection draw
- LINK 14 0 4 3 // magic wand tolerance into selection draw
-
- // Note: circular link. Leave this link statement last.
- LINK 21 0 23 0 // editor links back into shape selection
-